From 55b99c482cdd4d836a3678a51bdd00368811e668 Mon Sep 17 00:00:00 2001 From: robertlipe Date: Mon, 10 Jun 2013 00:59:42 +0000 Subject: [PATCH] Remove false const-ification from datetime overrides. git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4393 f51c46e8-681c-474f-0cfe-069cfd0219fb --- gpsbabel/src/core/datetime.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gpsbabel/src/core/datetime.h b/gpsbabel/src/core/datetime.h index 709da22d4..b7f8e1edf 100644 --- a/gpsbabel/src/core/datetime.h +++ b/gpsbabel/src/core/datetime.h @@ -57,17 +57,17 @@ public: return t; } - const time_t operator-- (int) { + time_t operator-- (int) { setTime_t(toTime_t() - 1); return this->toTime_t(); } - const time_t operator++ (int) { + time_t operator++ (int) { setTime_t(toTime_t() + 1); return this->toTime_t(); } - const time_t operator+=(const time_t&t) { + time_t operator+=(const time_t&t) { setTime_t(toTime_t() + t); return this->toTime_t(); } -- 2.30.2